package cglib.interfacedemo.test;

import cglib.interfacedemo.dao.Act;
import cglib.interfacedemo.dao.impl.Actor;
import cglib.interfacedemo.proxy.ActorProxy;

public class ActorDemo {

    public static void main(String[] args) {
        Act actor = new Actor("成龙","功夫片");
        actor = (Act) new ActorProxy().newProxyInstance(actor);
        actor.act();
    }
}
